@import "normalize.css";
@import "main.css";
@import "font.less";
@import "icon.less";
@import "var.less";

html,
body {
    height: 100%;
    background: url(../img/bg.jpg);
}

p, 
article {
    margin: 0;
    font:  400 17px @fontJustus;
}

a {
    position: absolute;
    bottom: 6px;
    right: 14px;
    display: inline-block;
    padding: 0 15px;
    background: #232227;
    color: #e3e3e3;
    text-transform: uppercase;
    text-decoration: none;
    font: 400 12px/26px @fontLoveloBlack;
    .transit;

    &:hover {
        background: #c45f5f;
    }
}

h1 {
    font: 400 36px @fontLoveloBlack;
    margin-top: 0;
    margin-bottom: 15px;
}

h2 {
    font: 400 18px @fontLoveloBlack;
    margin-top: 0;
    margin-bottom: 15px;
    color: #c45f5f;
}

.wrapper {
    position: relative;
    width: @siteWidth;
    min-height: 100%;
    margin: 0 auto;

    header {
        display: block;
        margin-bottom: 15px;

        p {
            display: inline-block;
            vertical-align: top;
            text-align: center;
            float: right;
            width: 40%;

            &:first-child {
                float: left;
            }


        }

        .logo {
            display: block;
            margin: 0 46%;
            .icon.logo;

        }
    }

    section.main {
        padding-bottom: 100px;

        section {
            height: 460px;
            box-sizing: border-box;
            position: relative;
            background: @backgroundGrey;
            padding: 30px 50px;
        }

        .row {
            display: block;

            .column {
                position: relative;
                display: inline-block;
                vertical-align: top;
                width: 424px;
                box-sizing: border-box;

                img {
                    border-top: 3px solid #000;
                }

                &.divider {
                    border-right: 1px solid #c0c0c0;
                }

                &.text {
                    padding: 0 0 0 30px;
                }
            }

            .sub-column {
                position: relative;
                display: inline-block;
                vertical-align: top;
                width: 49%;
                box-sizing: border-box;

                h1 {
                  font-size: 14px;
                  line-height: 24px; 
                  margin: 0; 
                }

                .date {
                    font: 400 14px/24px @fontLoveloBlack;
                }

                a {
                    position: relative;
                    bottom: 0;
                    right: 0;
                }

                p {
                    font: 400 14px/20px 'Open Sans', sans-serif;
                    margin: 0 0 10px 0;
                }
            }
        }

        .header {            

            header {
                display: block;
                border-top: 1px solid #000;
                border-bottom: 1px solid #000;
                padding: 3px 0;
                margin: 0 0 30px 0;

                span {
                    display: block;
                    border-top: 4px solid #000;
                    border-bottom: 4px solid #000;
                    padding: 20px 0;
                    text-align: center;
                    text-transform: uppercase;
                    font: 400 50px @fontLoveloBlack;
                }
            }
        }

        .even {
            background: @backgroundEven;
            padding: 66px 50px;

            .row {
                margin-bottom: 30px;
            }
        }
    }

    footer {
        position: absolute;
        bottom: 0;
        height: 100px;
    }
}